package com.yoj.serviceclient.service.judge.fallback;

import com.yoj.model.entity.QuestionSubmit;
import com.yoj.serviceclient.service.judge.JudgeFeignClient;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;

@Slf4j
@Component
public class JudgeFeignClientFallback implements JudgeFeignClient {
    @Override
    public QuestionSubmit doJudge(long questionSubmitId) {
        log.error("doJudge 判题调用失败，参数：{}", questionSubmitId);
        return null;
    }
}
